//
//  ColorView.h
//  Picture
//
//  Created by 孙玉琢 on 16/11/23.
//  Copyright © 2016年 孙玉琢. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "SwipeView.h"
#import "UIColor+Hex.h"

@protocol ColorViewDelegate <NSObject>
- (void)getColorString:(NSString *)colorString;
- (void)getAlphaValue:(NSInteger)stickerViewID  alpha:(float)alpha;
- (void)deletCurrentView:(NSInteger)stickerViewID;
@end

@interface ColorView : UIView<SwipeViewDelegate, SwipeViewDataSource>

@property (strong, nonatomic)IBOutlet SwipeView *colorScroll;

@property (nonatomic, strong) NSArray *colors;
@property (strong, nonatomic) NSString *colorString;

@property (nonatomic)NSInteger stickerViewID;

@property (nonatomic,weak) id <ColorViewDelegate> delegate ;

@property (weak, nonatomic) IBOutlet UISlider *slider;

@end
